#ifndef TRIGGEREXECUTIONSCOPE_H
#define TRIGGEREXECUTIONSCOPE_H

#include <iostream>

class Trigger;

class TriggerExecutionScope {
public:
    static TriggerExecutionScope EMPTY;

private:
    Trigger* triggeringTrigger;

public:
    TriggerExecutionScope(Trigger* triggeringTrigger_) : triggeringTrigger(triggeringTrigger_) {}

    Trigger* getTriggeringTrigger() const { return triggeringTrigger; }
};

TriggerExecutionScope TriggerExecutionScope::EMPTY = TriggerExecutionScope(nullptr);

#endif  // TRIGGEREXECUTIONSCOPE_H
